/**
 * 				MochitoTransferableInfo.java
 *				------------
 *		
 *   Author:	bin04017@gmail.com
 *	 Created:	22.12.2006
 *	 Project:	Mochito-TransferFramework
 *	 Package:	mochitoTransferableObject
 *	 Usage:		
 * *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 */
package mochitoTransferableObject;

import java.io.Serializable;

/**
 * @author bin04017
 *
 */
public class MochitoTransferableInfo implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 5093334821664939903L;

	/**
	 * the MochitoTransferableObjectId id of this object
	 */
	private Long MochitoTransferableObjectId = -1L;

	/**
	 * the MochitoTransferableObjectType Type of Object
	 */
	private Integer MochitoTransferableObjectType = -1;

	/**
	 * the MochitoTransferableObjectSender Sender of this object
	 */
	private String MochitoTransferableObjectSender = null;

	public MochitoTransferableInfo(AbstractMochitoTransferableObject object){
		this.MochitoTransferableObjectId = object.getMochitoTransferableObjectId();
		this.MochitoTransferableObjectSender = object.getMochitoTransferableObjectSender();
		this.MochitoTransferableObjectType = object.getMochitoTransferableObjectType();
	}
	
	public MochitoTransferableInfo(){
		
	}

	/**
	 * @return the mochitoTransferableObjectId
	 */
	public Long getMochitoTransferableObjectId() {
		return MochitoTransferableObjectId;
	}

	/**
	 * @param mochitoTransferableObjectId the mochitoTransferableObjectId to set
	 */
	public void setMochitoTransferableObjectId(Long mochitoTransferableObjectId) {
		MochitoTransferableObjectId = mochitoTransferableObjectId;
	}

	/**
	 * @return the mochitoTransferableObjectSender
	 */
	public String getMochitoTransferableObjectSender() {
		return MochitoTransferableObjectSender;
	}

	/**
	 * @param mochitoTransferableObjectSender the mochitoTransferableObjectSender to set
	 */
	public void setMochitoTransferableObjectSender(
			String mochitoTransferableObjectSender) {
		MochitoTransferableObjectSender = mochitoTransferableObjectSender;
	}

	/**
	 * @return the mochitoTransferableObjectType
	 */
	public Integer getMochitoTransferableObjectType() {
		return MochitoTransferableObjectType;
	}

	/**
	 * @param mochitoTransferableObjectType the mochitoTransferableObjectType to set
	 */
	public void setMochitoTransferableObjectType(
			Integer mochitoTransferableObjectType) {
		MochitoTransferableObjectType = mochitoTransferableObjectType;
	}
}
